package com.shopping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author shopping
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShProduct对象", description="")
public class ShProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品姓名")
    private String name;

    @ApiModelProperty(value = "商品价格")
    private Float price;

    @ApiModelProperty(value = "商品种类")
    private String kind;

    @ApiModelProperty(value = "商品图片")
    private String picture;

    @ApiModelProperty(value = "添加时间")
    private Date creatTime;


}
